package org.zhou.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.zhou.springCloud.pojo.Dept;

import java.util.List;

@Mapper
@Repository
public interface DeptDaoMapper {
    public boolean addDept(Dept dept);
    public Dept queryDeptById(Long id);
    public List<Dept> queryAll();
}
